package artifacts;

import maze.*;

/**
 * @author Denis Toikka
 * Sort of artifact.
 *
 */
public class Goblet extends Artifact{
	
	/* (non-Javadoc)
	 * @see artifacts.Artifact#name
	 */
	public String name = "goblet";
	/* (non-Javadoc)
	 * @see artifacts.Artifact#name
	 */
	public int cost = 5;
	
	/* (non-Javadoc)
	 * @see artifacts.Artifact#getCost()
	 */
	public int getCost() {
		return this.cost;
	}
	
	/* (non-Javadoc)
	 * @see artifacts.Artifact#gateArt(maze.Player)
	 */
	public String gateArt(Player pl) {
		pl.inventory.add(this);
		return "";
	}
}
